var sim = new Plensa();
sim.species("gene",1);
sim.species("mrna",0);
sim.species("protein",0);
sim.reaction("gene => gene + mrna",10.0);
sim.reaction("mrna => *",1.0);
sim.reaction("mrna => mrna + protein",10.0);
sim.reaction("protein => *","if (protein <= 100) rate = 0.0; else rate = 1e9;");
sim.header();
for(i=0;i<100;i++) {
    sim.simulate(1.0);
    sim.output();
}
